Xbasic

SYS_REMOVE Function

Syntax

removed as l = sys_remove(filename as c[,options as c])

Arguments

Filename

Filename to remove.

Options

Options for remove.

Description

The SYS_REMOVE() function removes a file using the file manager shell, which by default moves the file to the recycle bin. If you desire to remove permanently, use file.remove().

Example

? sys_remove("c:\data\mySpreadSheet.xls")
.t.

See Also